<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>鼠标经过图片抖动</title>

<style type="text/css">
ul,li,img{
	margin:0px;
	padding:0px;
}
li{
	list-style:none;
}
ul li{
	vertical-align:bottom;
}

.img_box {
	width:900px; 
	height:150px; 
	margin:0px auto;
}
.img_box li{ 
    width:200px; 
	float:left; 
	height:135px; 
	border:1px solid red; 
	padding:3px; 
	margin-left:8px;
}

</style>

<script src="js/jquery-2.1.4.min.js"></script>
<script src="js/jump.js"></script>

</head>
<body>
<div class="img_box">
    <ul id="ul">
        <li><a href="#"><img src="images/01.jpg"/></a></li>
        <li><a href="#"><img src="images/02.jpg"/></a></li>
        <li><a href="#"><img src="images/03.jpg"/></a></li>
        <li><a href="#"><img src="images/04.jpg"/></a></li>
        <li><a href="#"><img src="images/04.jpg"/></a></li>
    </ul>
</div>

</body>
</html>